package com.matt.service.cookbook.impl;

import com.matt.domain.cookbook.RecipeIngredients;
import com.matt.repository.cookbook.RecipeNativeRepository;
import com.matt.service.cookbook.RecipeIngredientsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class RecipeIngredientsServiceImpl implements RecipeIngredientsService {

	@Autowired
	RecipeNativeRepository nativeRepository;

	@Override
	public List<RecipeIngredients> selectRecipeIngredientsByCondition(Map<String, Object> filter) {
		return nativeRepository.selectRecipeIngredientsByCondition(filter);
	}
	
}
